package nc.itf.pub;

import java.util.HashMap;
import java.util.List;

public interface IPubInfo {
	public Object getpubInfo(String sql) throws Exception;
	public Object getpubInfo(int i) throws Exception;
	public void updatepubInfo(String sql) throws Exception;
	public Object getpubInfo(int i,Object sql) throws Exception;
	public List<HashMap<String, String>> execSql(String execSQL)
	throws Exception;
	public void updatebatch(String batchSql,List<HashMap<String, String>> pk,String[] keys);
	public List<HashMap<String, String>> execSqlForLeader(String execSQL);
}
